#ifndef WIZARD_H
#define WIZARD_H

#include <QtGui/QDialog>
#include "cdbprovider.h"

namespace Ui {
    class Wizard;
}

class Wizard : public QDialog {
    Q_OBJECT
    Q_DISABLE_COPY(Wizard)
public:
    explicit Wizard(QWidget *parent = 0);
    virtual ~Wizard();
    int getCount();
    int getIdSchool();
    QString getNameGroup();
    QString getDate();
    int getIdGroup();

protected:
    virtual void changeEvent(QEvent *e);

private:
    Ui::Wizard *m_ui;
    CDBProvider * db;
    void loadTree();
    void loadSchools();

private slots:
    void on_pushButton_clicked();
};

#endif // WIZARD_H
